url = xxx:xxx

F7::

f1 = utils\IrfanView\i_view64.exe
f2 = %A_ScriptDir%\captures\
f3:= A_Now
f4 = 80
f5 = urils\curl.exe
fn = %f2%%A_UserName%-%f3%.jpg

runwait, %comspec% /c "%f1%" /capture=0 /convert=%fn% /jpgq=%f4% /killmesoftly, , hide
run curl.exe -X POST -F file=@"%fn%" %url%, , Hide
